Skip to content

Refactor namespace management and hooks #11

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

pyramation
Copy link
Collaborator

Summary

  • add NamespaceContext with NamespaceProvider and usePreferredNamespace
  • compose NamespaceProvider with KubernetesProvider in app providers
  • update UI hooks to read namespace from the new context and default to 'default' when _all is selected
  • export new hook via hooks index and update components
  • remove old KubernetesContext

Testing

  • yarn --cwd ui lint (fails: package not installed)

https://chatgpt.com/codex/tasks/task_e_683d316bf98883309df90b9ac4f2a8c2

@pyramation pyramation closed this Jun 3, 2025
@pyramation pyramation deleted the 8aq4f7-codex/migrate-ui-hooks-to-use-@kubernetesjs/react branch June 3, 2025 01:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant